<template>
    <!--图片列表-->
    <div class="empty">
        <div class="ico">
            <img :src="ico" alt="">
        </div>
        <div class="tip" :style="{color: tipColor}">{{tip}}</div>
        <slot></slot>
    </div>
</template>

<script>
export default {
    props: {
        ico: String,
        tip: String,
        tipColor: String
    }
}
</script>

<style lang="less" scoped>
    .empty {
        padding-bottom: 1rem;
        .ico {
            padding-top: 2.6rem;
            img {
                display: block;
                width: auto;
                height: 2.1rem;
                margin: 0 auto;
            }
        }
        .tip {
            margin-top: .6rem;
            font-size: .3rem;
            text-align: center;
            color: #b3b3b3;
        }
    }
</style>